-
Notifications
You must be signed in to change notification settings - Fork 619
Fix claim condition form loading state #5421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix claim condition form loading state #5421
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Merge activity
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5421 +/- ##
=======================================
Coverage 45.52% 45.52%
=======================================
Files 1070 1070
Lines 55665 55665
Branches 4030 4030
=======================================
Hits 25341 25341
Misses 29637 29637
Partials 687 687
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR updates the conditional rendering logic in the `claim-conditions-form` component to use `claimConditionsQuery.isPending` instead of `isFetchingData`, improving clarity on the loading state of the data.
### Detailed summary
- Changed the condition from `if (isFetchingData)` to `if (claimConditionsQuery.isPending)` in `index.tsx`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
5af13e2 to
731089b
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR updates the condition for rendering a loading state in the
claim-conditions-formcomponent. It replaces the previous check forisFetchingDatawith a check forclaimConditionsQuery.isPending.Detailed summary
isFetchingDatatoclaimConditionsQuery.isPendingfor rendering logic.